<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>显示和隐藏密码</title>
    <link href="显示和隐藏密码.css" rel="stylesheet">
</head>
<body>
<div id="main">
  <input id="input" type="password">
  <div style="clear:both;"></div>
  <div id="imgD"><img id="img" src="img/闭眼睛.png"></div>
</div>
<script src="显示和隐藏密码.js"></script>
</body>
</html>